// commonJS 引入模块
// const cal = require('./cal.js')
// es6 的声明式引入
import {a} from './cal'
// es6 声明式导入
import {b,c,d} from './cal'

console.log(a)

console.log(b)
console.log(c)
console.log(d)

// 全部导入
import * as obj from './cal'
console.log(obj)
